import java.awt.*;
import java.io.*;
import java.util.Properties;
import javax.swing.*;

public class AppFrame extends JFrame {
	private final int DEFAULT_FRAME_WIDTH = 400;
	
	private final int DEFAULT_FRAME_HEIGHT = 300;
	
	public AppFrame() throws IOException {
		setSize(DEFAULT_FRAME_WIDTH, DEFAULT_FRAME_HEIGHT);
		
		JButton button = new JButton("test");
		button.setSize(20, 20);
		add(button);
		
		Properties setting = new Properties();
		setting.put("Url", "ebay.com");
		
		FileOutputStream out = new FileOutputStream("program.properties");
		setting.store(out, "this is a test");
	}
}
